package proxy;

import java.util.ArrayList;

import bean.*;

/**
 * An interface for other group to call for connection
 * @author tanjian
 *
 */
public interface IConnection {
	String put(ArrayList<Item> pt);
	String delete(ArrayList<Item> pt);
	String get(ArrayList<Item> pt, String url) throws Exception;
	String post(ArrayList<Item> pt, String url) throws Exception;
	Object conn(CommonInterface ci, String format) throws Exception;
	String conn(CommonInterface ci) throws Exception;
}
